home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HamCall (April 1991)
/
HAMCALL CD-ROM (Buckmaster)(April 1991).BIN
/
telcom
/
qmodem
/
shownote.scr
< prev
next >
Wrap
Text File
|
1989-02-20
|
2KB
|
42 lines
;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*;
; ;
; Script SHOWNOTE.SCR (C) The Forbin Project ;
; ;
; This script will display the attached note file on the ;
; screen. It is called as a subroutine from any linked ;
; script in the Dialing directory. ;
; ;
; Example Linked Script: ;
; ;
; ; ;
; ; Start of Linked Script Sysop2.scr ;
; ; ;
; ; The following two lines are added: ;
; ;
; Note The Note file is : $NOTEFILE ;
; Script SHOWNOTE.SCR ; show the contents and return;
; ;
; ; Back from the SHOWNOTE script. ;
; ;
;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*;
EXIST $NOTEFILE Cont
DISPLAYLN "-----------------"
DISPLAYLN "No attached notes"
DISPLAYLN "-----------------"
RETURN
CONT:
DISPLAYLN "-------------------------------"
DISPLAYLN "Contents of attached Note file:"
DISPLAYLN "-------------------------------"
OPENFILE $NOTEFILE READ
ReadLoop:
READFILE 0
IF "$0" = "_EOF_" DONE
DISPLAYLN "$0 "
GOTO READLOOP
DONE:
CLOSEFILE
RETURN